// import express from "express";
import express from "./express/index.js";

const app = express(); // const app = new Koa()

// express 内置路由系统  koa  router.get('/user',function(ctx){})
app.get("/", function (req, res) {
  res.end("ok");
});
app.get("/user", function (req, res) {
  res.end("user");
});
app.listen(3000);

// koa-router
